Skip to content

chore: update CHANGELOG for v0.40.0 and enhance documentation - #142

Merged
hung12ct merged 1 commit into
mainfrom
feat/llm-capabilities-and-provider-cost
Aug 9, 2026
Merged

chore: update CHANGELOG for v0.40.0 and enhance documentation#142
hung12ct merged 1 commit into
mainfrom
feat/llm-capabilities-and-provider-cost

Conversation

@hung12ct

@hung12ct hung12ct commented Aug 9, 2026

Copy link
Copy Markdown
Owner
  • Added agent.CapabilityProvider and agent.LLMCapabilities to improve provider capability reporting.
  • Introduced agent.TokenUsage.CostUSD for accurate cost reporting without requiring a PriceTable.
  • Enhanced OpenAI client with WithBaseURL and WithHTTPHeader options for better transport configuration.
  • Changed openai.Option to an interface for improved flexibility.
  • Updated documentation to reflect new features and changes, including per-run cost handling and provider capabilities.
  • Fixed issues with providers not correctly reporting costs and capabilities, ensuring better integration and user experience.

What & why

Closes #

Changes

Testing

Checklist

  • Title is a Conventional Commit (feat:, fix:, docs:, refactor:, chore:, …)
  • gofmt -l . prints nothing
  • make lint is clean
  • make build passes
  • make test (or make test-race for concurrency changes) passes
  • Errors wrapped with a package prefix (fmt.Errorf("<pkg>: ...: %w", err))
  • CHANGELOG.md updated if this PR is cut as a release tag
  • No changes to pkg/llm/, pkg/history/, or pkg/telemetry/ without explicit maintainer approval

- Added `agent.CapabilityProvider` and `agent.LLMCapabilities` to improve provider capability reporting.
- Introduced `agent.TokenUsage.CostUSD` for accurate cost reporting without requiring a `PriceTable`.
- Enhanced OpenAI client with `WithBaseURL` and `WithHTTPHeader` options for better transport configuration.
- Changed `openai.Option` to an interface for improved flexibility.
- Updated documentation to reflect new features and changes, including per-run cost handling and provider capabilities.
- Fixed issues with providers not correctly reporting costs and capabilities, ensuring better integration and user experience.
@hung12ct
hung12ct merged commit de1603a into main Aug 9, 2026
2 checks passed
@hung12ct
hung12ct deleted the feat/llm-capabilities-and-provider-cost branch August 9, 2026 03:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant